package com.example;

//import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;


@Document(collection = "spotmedia")
public class SpotMedia {public SpotMedia(String _id, String name, String url) {
		super();
		this._id = _id;
		this.name = name;
		this.url = url;
	}
// implements Serializable{

	@Id
    private String _id;
    private String name;
    private String url;
    
    public SpotMedia(){
    	super();
    }
    
	public String get_id() {
		return _id;
	}
	public void set_id(String _id) {
		this._id = _id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
}
